Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODClipboard


GetUpdateID

The GetUpdateID method returns an update ID identifying the current generation or version of this clipboard object.

ODUpdateID GetUpdateID ();
return value
The update ID of the current clipboard content.
DISCUSSION
Your part may call this method to check whether another part has changed the clipboard. The returned update ID uniquely identifies the current generation or version of the clipboard. Note that update ID values have no significance other than in the context of testing them for equality. Also, the update ID value returned by this method is valid only during the current session.

It is possible, but dangerous, to call this method before your part has acquired the clipboard focus.

IMPORTANT
Clipboard update IDs are used for a different purpose than are link and link-source update IDs. You should never set the update ID of a link-source object to an update ID returned by this method.
SEE ALSO
The ODClipboard::ActionDone method (page 86).
The ODLink::GetUpdateID method (page 353).
The ODLinkSource::GetUpdateID method (page 381).
"Clipboard Update ID" on page 353 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help